package com.dengdai.apputils.fragments;

import android.view.View;
import android.widget.TextView;
import com.dengdai.applibrary.fragments.BaseFragment;
import com.dengdai.apputils.R;

import butterknife.Bind;

/**
 * @说明 测试ScollViewFragment
 * @作者 LY
 * @时间 16/5/24 16:27
 * @邮箱 2743569843@qq.com
 * @版权 Copyright(c) 2016 LY-版权所有
 * @备注
 */
public class TextScrollViewFragment extends BaseFragment {
    @Bind(R.id.tvName)
    public TextView tvName;

    public static TextScrollViewFragment newInstance() {
        TextScrollViewFragment textScrollViewFragment = new TextScrollViewFragment();
        return textScrollViewFragment;
    }

    @Override
    public int getLayoutResID() {
        return R.layout.fragment_test_scrollview;
    }

    public void refresh(String str) {
        tvName.setText(str);
    }

    public void loadingMore(String str) {
        tvName.setText(tvName.getText().toString() + str);
    }

    @Override
    public void initData(View view) {

    }

    @Override
    public void business() {

    }
}
